package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Chapter;

import java.util.List;

public interface ChapterService extends IService<Chapter> {
    List<Chapter> selectAllChapterBySubid(Integer subid);



    List<Chapter> selectChapterByKeyWord(String keyWord);

    List<Chapter> selectAllChapter();

    int insertChapter(Chapter chapter);

    int deleteChapterById(Integer chapterId);

    Chapter selectChapterByName(String chapterName);
}
